import axios from 'axios'

export function getUserInfo() {
  return axios.get('/api/user/info').then(res => res.data)
}